package arrayList1;

/*
 * 新闻标题类
 */

public class NewsTitle {
	private int id; // ID
	private String newsName; // 名称
	private String creator; // 创建者
	
	public NewsTitle(){
		
	}
	
	public NewsTitle(int id, String newsName, String creator){
		this.id = id;
		this.newsName = newsName;
		this.creator = creator;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNewsName() {
		return newsName;
	}

	public void setNewsName(String newsName) {
		this.newsName = newsName;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}
}
